package testGroovy

import testGroovy.model.QuoteFieldStatus

def queteFieldStatus = []
3.times { id ->
	queteFieldStatus += createQuoteFieldStatus(id, true, 0, 1, '修改险种对应不计免赔属性')
}
queteFieldStatus.each { item ->
	println item.filedName
}
println queteFieldStatus

def static createQuoteFieldStatus(fieldNameValue, enabledValue, originalAmountValue, currentAmountValue, descriptionValue) {
	new QuoteFieldStatus(
		filedName: fieldNameValue,
		enabled: enabledValue,
		originalAmount: originalAmountValue,
		currentAmount: currentAmountValue,
		description: descriptionValue)
}


